﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="ModifyMonthHandShake.aspx.cs"
    Inherits="Month_ModifyMonthHandShake" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改月握手关系</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script src="../Js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
    </asp:ScriptManager>
    <table border="0" cellpadding="0" cellspacing="0" width="884">
        <tr>
            <td>
                年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpYear_SelectedIndexChanged">
                </asp:DropDownList>
                年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged">
                </asp:DropDownList>
                月周期:<asp:DropDownList ID="drpMonthDate" runat="server"   OnSelectedIndexChanged="drpMonthDate_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="gdvHandShake" runat="server" AutoGenerateColumns="False" DataKeyNames="HandShakeId,CheckNote,HandShakeContents,IsConsensus,HandShakeState,CompleteTime"
                    OnRowDataBound="gdvHandShake_RowDataBound" SkinID="gridviewSkin" Width="884px">
                    <Columns>
                        <asp:TemplateField HeaderText="选择" Visible="False">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px" />
                            <ItemTemplate>
                                <asp:CheckBox ID="ckbSelect" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="计划编号">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Sponsor" HeaderText="发起人">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" Wrap="False" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" Wrap="False" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Participant" HeaderText="参与人">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" Wrap="False" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" Wrap="False" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="结束时间">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="90px" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="90px" />
                            <ItemTemplate>
                                <asp:TextBox ID="txtCompleteTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" Width="85px"></asp:TextBox>
                                
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="握手关系内容">
                            <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="190px" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="190px" />
                            <ItemTemplate>
                                <asp:TextBox ID="txtHandShakeContents" runat="server" TextMode="MultiLine" Height="100px"
                                    Width="180px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="是否达成共识">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="90px" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="90px" />
                            <ItemTemplate>
                                <asp:DropDownList ID="drpIsConsensus" runat="server">
                                    <asp:ListItem Value="1">达成共识</asp:ListItem>
                                    <asp:ListItem Value="0">未达成共识</asp:ListItem>
                                </asp:DropDownList>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="意见">
                            <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="120px" Wrap="False" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="120px" Wrap="False" />
                            <ItemTemplate>
                                <asp:DropDownList ID="drpType" runat="server">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                    <asp:ListItem Value="4">完成</asp:ListItem>
                                    <asp:ListItem Value="5">顺利进行</asp:ListItem>
                                    <asp:ListItem Value="6">有障碍</asp:ListItem>
                                    <asp:ListItem Value="7">失控</asp:ListItem>
                                </asp:DropDownList>
                                <br />
                                <asp:TextBox ID="txtCheckNote" runat="server" SkinID="textboxMultiLineSkin" TextMode="MultiLine"
                                    Width="80px"></asp:TextBox><br />
                                <asp:Button ID="btnOK" runat="server" CausesValidation="false" OnClick="btnOK_Click"
                                    SkinID="buttonSkin" Text="修改" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="HandShakeId" HeaderText="id" Visible="False">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" Wrap="False" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" Wrap="False" />
                        </asp:BoundField>
                        <asp:BoundField DataField="HandShakeContents" HeaderText="HandShakeContents" Visible="False" />
                        <asp:BoundField DataField="CheckNote" HeaderText="CheckNote" Visible="False" />
                        <asp:BoundField DataField="IsConsensus" HeaderText="IsConsensus" Visible="False">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0px" Wrap="False" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0px" Wrap="False" />
                        </asp:BoundField>
                        <asp:BoundField DataField="HandShakeState" HeaderText="HandShakeState" Visible="False" />
                        <asp:BoundField DataField="CompleteTime" HeaderText="CompleteTime" Visible="False" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
